function echo(a)
	os.execute('echo "'..a..'"')
end

math.randomseed(os.time())


c="\\033[?25l"  -- cursor hide
os.execute('echo "'..c..'"')
c=""
for i=1, 100 do
	t=io.popen(io.read())
	if(t:read("*all")=='c') then break; end;
	color=math.random(31,37)
	c=c.."\\033[2J" -- clear screen
	x=math.random(0,50)
	y=math.random(0,20)
	c=c.."\\033["..y..";"..x.."H"
	c=c.."\\033["..color.."m"
	c=c..i..'-'..math.random(333,13300000)
--	c=c.."\\033[u"
	echo(c)
	os.execute('sleep 0.1')
end
echo('\\033[0m')
